package com.desire.mapper.sys;

import com.desire.bean.sys.Dict;
import com.desire.common.Base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author LittleDesire
 * @description
 * @date 2022-05-18 周三 15:36
 * @since 17
 */
@Mapper
public interface DictMapper extends BaseMapper<Dict> {
    List<Map<String, Object>> queryChild(Map<String, Object> map);

    String queryMaxDictCode(@Param("euid") String euid, @Param("parentid") String parentid);

    String queryDictCode(String id);

    List<Map<String, Object>> queryChildByParentId(String parentid);

    int queryChidlCount(Serializable id);

    int deleteGroup(String code);

    List<Map<String, Object>> queryChildren(Map<String, Object> map);
}
